package cn.spring.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.spring.bean.Commodity;
import cn.spring.bean.Employee;
import cn.spring.bean.Shoppingcart;
import cn.spring.bean.Today;

public interface ShoppingcartService {
	public Boolean save(String id,String num,Employee emp,int ordId);
	public List<Map<String, Object>> selectIsGou(int empId);
	public int updateIsGou(int empId,int ordId);
	public List<Map<String, Object>> selectByState(int empId,int ordId);
	public List<Map<String, Object>> selectByState1(int ordId);
	public Map<Today, List<Map<String, Object>>> today();
	public int queren(int ordId);
	public Double getTotal(String startTime,String endTime);
	public List<Map<String, Object>> toDayCommodity();
	public List<Map<String, Object>> toDayCommodityByWord(String word);
	public Map<Today, List<Map<String, Object>>> toDayByKey(String word);
	Double getTotalByKey(String startTime,String endTime,String word);
	public List<Today> today1();
	public List<Map<String, Object>> getShang(int ordId);
	
	List<Map<String, Object>> findAccounts();
    List<Map<String, Object>> finGoodsByOId(int oid);
}
